home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
SgColorChooserGetColor.z
/
SgColorChooserGetColor
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrGGGGeeeettttCCCCoooolllloooorrrr((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVSSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrGGGGeeeettttCCCCoooolllloooorrrr((((3333XXXX))))
NNNNAAAAMMMMEEEE
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrGGGGeeeettttCCCCoooolllloooorrrr - A ColorChooser function that gets
the selected color of the ColorChooser
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<SSSSggggmmmm////CCCCoooolllloooorrrrCCCC....hhhh>>>>
vvvvooooiiiidddd SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrGGGGeeeettttCCCCoooolllloooorrrr ((((_w_i_d_g_e_t, _r_e_d, _g_r_e_e_n, _b_l_u_e))))
WWWWiiiiddddggggeeeetttt _w_i_d_g_e_t;;;;
sssshhhhoooorrrrtttt *_r_e_d;;;;
sssshhhhoooorrrrtttt *_g_r_e_e_n;;;;
sssshhhhoooorrrrtttt *_b_l_u_e;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents the version of Sgm that accompanies
Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrGGGGeeeettttCCCCoooolllloooorrrr gets the currently selected color of
the given ColorChooser widget.
_w_i_d_g_e_t Specifies the ColorChooser widget ID
*_r_e_d Specifies a pointer to hold the returned red color
component in RGB color space.
*_g_r_e_e_n Specifies a pointer to hold the returned green color
component in RGB color space.
*_b_l_u_e Specifies a pointer to hold the returned blue color
component in RGB color space.
The color components range from 0 (no intensity) to 255
(maximum intensity). This is the same range used by Iris GL
(RRRRGGGGBBBBCCCCoooolllloooorrrr((((3333GGGG))))).
For a complete definition of ColorChooser widget and its
associated resources, see SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrr((((3333XXXX)))).
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrr((((3333XXXX)))). SSSSggggCCCCrrrreeeeaaaatttteeeeCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrr((((3333XXXX)))),
SSSSggggCCCCrrrreeeeaaaatttteeeeCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrDDDDiiiiaaaalllloooogggg((((3333XXXX)))), SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCoooolllloooorrrr((((3333XXXX)))),
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCuuuurrrrrrrreeeennnnttttCCCCoooolllloooorrrr((((3333XXXX)))),
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttSSSSttttoooorrrreeeeddddCCCCoooolllloooorrrr((((3333XXXX)))), and RRRRGGGGBBBBCCCCoooolllloooorrrr((((3333GGGG)))).
Page 1 (printed 10/24/98)